import Vue from 'vue'
import Vuex from 'vuex'
import {state,getters,mutations} from "./mutations"
import {actions} from "./actions"
Vue.use(Vuex)


import login from "./modules/login"
import cate from "./modules/cate"
import specs from "./modules/specs"
import goods from "./modules/goods"
import vip from "./modules/vip"
import banner from "./modules/banner"
import seckill from "./modules/seckill"
export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules: {
    login,
    cate,
    specs,
    goods,
    vip,
    banner,
    seckill
  }
})
